package com.freshmarket.freshmarket.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freshmarket.freshmarket.entity.Manager;
import com.freshmarket.freshmarket.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface AuthoMapper extends BaseMapper<User> {

    @Select("select * from freshmarket_user where user_phone = #{userPhone}")
    public User findByUserPhone(@Param("userPhone")String userPhone);
}
